package ntd.util.modular.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import ntd.util.config.common.entity.BaseEntityMybatis;
import ntd.util.config.common.enums.mechanism.EnumMechanismType;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@TableName("common_mechanism")
@Data
public class Mechanism extends BaseEntityMybatis<Mechanism> {

    @NotBlank
    @Schema(description = "机构名称", title = "机构名称")
    private String name;
    @NotNull
    @Schema(description = "机构类型", title = "机构类型")
    private EnumMechanismType enumMechanismType;
    @Schema(description = "官网地址", title = "官网地址")
    private String linkOfficialWebsite;
    @Schema(description = "备注信息", title = "备注信息")
    private String remark;

}
